import request from './request';
export const login = (data)=>{
  return request.post('/auth/login',data);
}

export const fetchUserList = ()=>{
  return request.get('/user');
}

export const getAuthInfo = ()=>{
  return request.post('/auth/info');
}